package com.hooda.service;

import com.hooda.dao.UserMapper;
import com.hooda.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author zhangzp
 * @version 1.0, 10/25/21
 */
@Service
public class UserService {

    @Autowired
    private UserMapper userMapper;

    public User findUser(String username) {
        return userMapper.findUser(username);
    }
}
